package com.cn.kehong.dao;

import com.cn.kehong.domain.PlanYear;
import com.cn.kehong.domain.PlanYearExample;
import java.util.List;

import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface PlanYearMapper {
    int countByExample(PlanYearExample example);

    int deleteByExample(PlanYearExample example);

    int insert(PlanYear record);

    int insertSelective(PlanYear record);

    List<PlanYear> selectByExample(PlanYearExample example);

    List<PlanYear> selectYearPlanByYear(String planYear);

    List<String> selectPlanYears();

    PlanYear selectPlanYearById(String id);

    PlanYear selectLatestPlanByYear(String year);

    int updateByExampleSelective(@Param("record") PlanYear record, @Param("example") PlanYearExample example);

    int updateByExample(@Param("record") PlanYear record, @Param("example") PlanYearExample example);

    List<PlanYear> selectPlanYearList(QueryForm queryForm);

    int selectPlanYearListCount(QueryForm queryForm);

    int batchUpdatePlanYears(List<PlanYear> planYears);

}